package com.wht.service;

import com.wht.mapper.MusicSingerMapper;
import com.wht.utils.MyBatisUtils;

/**
 * @author wanghaotian
 * time:2022/11/28,0028 21:13
 * description:
 */

public class DeleteMusicSingerServiceImpl implements DeleteMusicSingerService {
    @Override
    public void deleteMusicSinger(String musicId) {
        MusicSingerMapper mapper = MyBatisUtils.getMapper(MusicSingerMapper.class);
        mapper.deleteMusicSinger(musicId);
        MyBatisUtils.commit();
    }
}
